package com.hicorp.segment.pojo.po;

import com.hicorp.segment.pojo.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class Annex extends BaseDO {

    private String tableName;

    private Long rowId;

    private String name;

    private String path;

    public Annex() {
    }

    public Annex(String tableName, Long rowId, String name, String path, String createUser, Date createGmt) {
        super(createUser, createGmt);
        this.tableName = tableName;
        this.rowId = rowId;
        this.name = name;
        this.path = path;
    }

    public Annex(Long id, String tableName, Long rowId, String name, String path, String createUser, Date createGmt, String modifiedUser, Date modifiedGmt) {
        super(id, createUser, createGmt, modifiedUser, modifiedGmt);
        this.tableName = tableName;
        this.rowId = rowId;
        this.name = name;
        this.path = path;
    }
}
